package com.zoweunion.mechanic.util;

@SuppressWarnings("serial")
public class MyException extends Exception{

	
	private int code;
	private String msg;
	public int getCode() {
		return code;
	}
	public void setCode(int code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
	
	public MyException(String 暂无数据) {
		super();
	}
	
	public MyException(int code, String msg) {
		super(msg);
		this.code = code;
		this.msg = msg;
	}
	
	
	
}
